<template>
  <div class="dv_box">
    <Header />
    <van-tabs v-model="active">
      <van-tab v-for="(item, index) in list" :key="index" :title="item.title">{{
        item.content
      }}</van-tab>
    </van-tabs>
  </div>
</template>

<script>
import Header from "../../components/header/header";
export default {
  data() {
    return {
      active: 0,
      list: [
        {
          title: "全部",
          content: "全部",
        },
        {
          title: "未使用",
          content: "未使用",
        },
        {
          title: "已使用",
          content: "已使用",
        },
        {
          title: "已过期",
          content: "已过期",
        },
      ],
    };
  },
  components: {
    Header,
  },
};
</script>

<style lang="scss" scoped>
.dv_box {
  width: 100vw;
  height: 100vh;
  background-color: #f4f4f4;
}
.van-tab__pane {
  font-size: 16px;
}
</style>